{if $site->msgs|@count > 0 }<div class="{$div_class}"><span class="corners-top"><span></span></span>	<div id="errors">	{foreach name=error_loop item=item from=$site->msgs}		<div class="boxtitle"><img src="{$site->image_path}/{$item->icon}" alt="" /><span class="{$item->type}">{$item->msg}</span></div>	{/foreach}	</div><span class="corners-bottom"><span></span></span></div>{/if}			